package net.hn.hnms.biz.mine.service;

import net.hn.hnms.biz.mine.domain.dto.MiningSystemRunTimeDayDto;
import net.hn.hnms.biz.mine.domain.dto.MiningSystemRunTimeMinuteDetailDto;

import java.util.Date;
import java.util.List;

public interface OtherSystemApiService {
    /**
     * 扎煤signature签证
     * @param appKey
     * @param appSecret
     * @param timestamp
     * @return
     */
    String getSignature(String appKey, String appSecret, String timestamp);

    /**
     * 获取扎煤-采煤每日运行状态总时长
     * @param ip
     * @param signature
     * @param timestamp
     * @param startDate
     * @param endDate
     * @return
     */
    List<MiningSystemRunTimeDayDto> getMiningSystemRunTimeDay(String ip, String signature,String timestamp, Date startDate, Date endDate);

    /**
     * 获取扎煤-采煤每分钟运行状态明细
     * @param ip
     * @param signature
     * @param timestamp
     * @param startDate
     * @param endDate
     * @return
     */
    List<MiningSystemRunTimeMinuteDetailDto> getMiningSystemRunTimeMinuteDetail(String ip, String signature, String timestamp, Date startDate, Date endDate);
}
